import { Navigator, View } from '@tarojs/components';
import { AtList, AtListItem } from 'taro-ui';

function User() {
  return (
    <View>
      <View className='header'>
        <View className='header-name'>
          用户管理
        </View>
      </View>
      <View className='body'>
        <AtList hasBorder={false}>
          <Navigator url='/pages/user-all/index'>
            <AtListItem title='所有用户' arrow='right' />
          </Navigator>
          <Navigator url='/pages/user-all/index?status=1'>
            <AtListItem title='待审核' arrow='right' />
          </Navigator>
          <Navigator url='/pages/user-all/index?status=3'>
            <AtListItem title='已拒绝' arrow='right' />
          </Navigator>
          <Navigator url='/pages/user-all/index?status=2'>
            <AtListItem title='已通过' arrow='right' />
          </Navigator>
        </AtList>
      </View>
    </View>
  )
}

export default User;
